var express = require('express');
var router = express.Router();
const {
  saveTest,
  getTested,
  getTestResults
} = require('./../controlers/testedControler');

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});

router.post('/saveTest', saveTest);

router.post('/getTested', getTested);

router.post('/getTestResults', getTestResults);

module.exports = router;
